Show:

Users list Class

Renders a list of user avatars

Constructor

Users list

(
  • options
)

Parameters:

  • options Object

    options for the tool

    • userIds Array

      the user ids to render

    • [limit=100] Number optional

      positive integer for how many avatars to show at a time

    • [preload=0] Number optional

      how many pages (multiples of limit) to preload

    • [avatar={icon:80}] Object optional

      options for the child Users/avatar tools

    • [clickable=false] Object optional

      options for Q/clickable, if not false

    • [preload=0] Number optional

      how many pages (multiples of limit) to preload

    • [onRefresh] Q.Event optional

      happens after the refresh method is called

    • [onLoadMore] Q.Event optional

      happens when more users are loaded (including first time)

Item Index